package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.common.R;
import com.itheima.reggie.entity.Orders;
import org.springframework.transaction.annotation.Transactional;

@Transactional
public interface OrderService extends IService<Orders> {

    //去支付，生成订单
    R submitForPay(Orders orders);

    R pageWithAll(Integer page, Integer pageSize);

    //分页查询订单
//    R pageWithAll(Integer page, Integer pageSize);
}
